 <div class="top_search">
 <h3>产品搜索:</h3>
    <% form_tag result_procate_products_path(params[:procate_id] || 2) do -%>
      <p>名称：<input type="text" name="product_name"/>&nbsp;
    品牌：<%= select("product_attribute_values[1]","value_int",get_list_items("pinpai",params[:procate_id] || @product.procate_id).collect{|p| [p.display_name,p.id]},:include_blank=>"请选择品牌")%>
    
     价格区间：<input type="text" name="scope1" class="short"/>-<input type="text" name="scope2" class="short"/>
      <%= submit_tag '搜索',:class=>"small-btn" %>&nbsp;<a href="/procates/all/products/search">高级搜索</a></p>
    <% end -%>
 
</div>